<template>
  <router-view />
</template>

<style></style>

<script lang="ts" setup>
import { onMounted } from "vue";
import { wsClient } from "@/util/websocket";
import { useAuthStore } from "@/store/auth";

// const authStore = useAuthStore();

// onMounted(async () => {
//   if (authStore.isAuthenticated) {
//     wsClient.connect();
//   }
// });
</script>
